x =int(input())
y = int(input())
n = int(input())
from tkinter import*
root = Tk()
root.title("")
root.geometry("")
canvas= Canvas(width = 500, height = 500, bg = "white")
canvas.pack(anchor = CENTER, expand = 1)
if (x+2*n) <= 500 and (y+3*n) <= 500:
    canvas.create_polygon(x,y,x+1*n,y,x+1*n,y+1*n,x+2*n,y+1*n,x+2*n,y+2*n,x+1*n,y+2*n,x+1*n,y+3*n,x,y+3*n,x,y)
else:
    print("Размер фигуры превышает максимальный размер поля")
